package org.zhb.sys.shiro.user.service;

import java.util.List;

import org.zhb.sys.common.service.CommonService;

import org.zhb.sys.shiro.model.User;

public interface UserService extends CommonService<User> {

	User selectByUserName(String userName);

	User insert(User user);

	User selectUserById(String userId);

	User update(User user);

	void delete(String id);

	void saveBatch(List<User> users);

	void updatePasswordByUserName(String password, String userName);

	User findByPhone(String phone);

	User findByEmail(String email);

	List<User> selectAllUser();
}
